package com.ordering.constant;


public class ResultResponse
{
    public static final int CODE_SUCCESS = 1000;
    public static final int CODE_Fail = 2000;
    
    private int code;
    private Object result;
    private String message;
    
    
    public int getCode()
    {
        return code;
    }
    public void setCode(int code)
    {
        this.code = code;
    }
    public Object getResult()
    {
        return result;
    }
    public void setResult(Object result)
    {
        this.result = result;
        this.code = CODE_SUCCESS;
    }
    public String getMessage()
    {
        return message;
    }
    public void setMessage(String message)
    {
        this.message = message;
    }
}
